<?php
//dbconfig,redisconfig
return [
	'db' => [
            'class' => 'daos\Connection',
            'dsn' => 'mysql:host=127.0.0.1;dbname=poker',
            'username' => 'test',
            'password' => 'test',
            'charset' => 'utf8',
    ],
	'redis' => [
            'class' => 'components\RedisExtend',
            'hostname' => '127.0.0.1',
            'port' => 6379,
            'database' => 3,
    ],
    'modules' => [
        'game' => [
            'class' => 'modules\game\Module',
        ],
        'video' => [
            'class' => 'modules\video\Module',
        ],
        'i-chat' => [
            'class' => 'modules\iChat\Module',
        ],
        'resource' => [
            'class' => 'modules\resource\Module',
        ]
    ],
];
